<%@ include file="/includes/includes.jsp" %>
<%--<%@ page language="Java" contentType="text/html; charset=UTF-8" isELIgnored="false" %>--%>
<div class="block-frame">
    <div class="top">
        <div>
            <div></div>
        </div>
    </div>
    <div class="middle">
        <div id="sidetree" class="block-body">
            <div class="block-header">
                <div id="sidetreecontrol">
                    <spring:message code="menu"/>
                </div>
            </div>
            <div class="block-content-p1">
                <ul class="treeview" id="tree">
                    <c:forEach var="module" items="${allModules}" varStatus="moduleindex">
                        <c:url value="/modules/index.do" var="url">
                            <c:param name="module" value="${module.code}"/>
                        </c:url>
                        <li class="${moduleindex.last ? 'last' : ''} ${module.code eq currentView.module ? 'selected': ''}">
                            <a href="<c:out value='${url}'/>"><c:out value='${module.name}'/></a>
                        </li>
                    </c:forEach>
                </ul>
            </div>
        </div>
    </div>
    <div class="bottom">
        <div>
            <div></div>
        </div>
    </div>

</div>

